package PolishNotation;

import java.util.List;

/**
 * Author：zouran
 * Date：2023/4/30  0:52
 */
public class Main {
    public static void main(String[] args) {
        MiddleToSuffix middleToSuffix = new MiddleToSuffix();
        List<String> list = middleToSuffix.toSuffix();
        CalculateSuffix calculateSuffix = new CalculateSuffix(list);
        System.out.println(calculateSuffix.calculateSuffix());
    }
}